package kr.or.javacafe.USCM.USCM100.service;

import java.util.*;
import java.sql.*;
import java.io.*;

import kr.or.javacafe.common.dao.*;
import kr.or.javacafe.common.exception.KmtcException;
import kr.or.javacafe.common.exception.KmtcRuntimeException;
import kr.or.javacafe.common.util.*;

import kr.or.javacafe.USCM.USCM100.dao.*;
import kr.or.javacafe.USCM.USCM100.model.*;


public class USCM100ServiceImpl implements USCM100Service {
	
	private USCM100DAO uscm100DAO;
	//이미 Spring이 이 메소드를 통해 주입시킨다
	public void setUscm100DAO(USCM100DAO uscm100DAO){
		this.uscm100DAO = uscm100DAO;	
	}
	
	
	public List findMemberList() throws KmtcException
	{
		try
		{
			List objList = uscm100DAO.selectMemberList();
			
			return objList;
		}
		catch (RuntimeException ex)
		{
			throw new KmtcRuntimeException(ex);
		}
		catch (Exception ex)
		{
			throw new KmtcException(ex);
		}
	}
	
}




